package com.hqq.behaviour.strategy;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * ProjectileStrategy
 * 具体策略角色：包装了相关的算法和行为。
 * Created by heqianqian on 2017/6/19.
 */
public class ProjectileStrategy implements DragonSlayingStrategy {

    private static final Logger LOGGER = LoggerFactory.getLogger(ProjectileStrategy.class);

    @Override
    public void execute() {
        LOGGER.info("You shoot the dragon with the magical crossbow and it falls dead on the ground!");
    }
}
